/*
 * @Description: 
 * @Author: 
 * @Date: 2021-08-05 20:10:54
 * @LastEditors: zy
 * @LastEditTime: 2021-08-06 09:30:49
 */
import Vue from 'vue'
import Router from 'vue-router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import Country from '@/components/CountryView'
import Province from '@/components/ProvinceView'
import City from '@/components/CityView'

Vue.use(ElementUI)
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '中国视图',
      component: Country
    },
    {
      path: '/province',
      name: '省级视图',
      component: Province
    },
    {
      path: '/city',
      name: '市级视图',
      component: City
    }
  ]
})
